/**
 * 
 */
package com.googlecode.xcarve.common.config;

/**
 * @author xinyun.du
 *
 */
public class CarveConstances {
	
	public static final String RPC_NAME = "xcarve";
	
	public static final String RPC_PROVIDER_NAME = "provider";
	
	public static final String RPC_CONSUMER_NAME = "consumer";
	
	public static final byte HEART_REQUEST = 0x1;
	
	public static final byte HEART_RESPONSE = 0x2;
	
	public static final int DEFAULT_TIMEOUT = 3000;
	 
	public static final int DEFAULT_IDLETIME_PERIOD = 2000;
	 
	public static final String LAST_WRITE_TIME = "last_write_time";
	
	public static final String LAST_READ_TIME = "last_read_time";
	 
	public static final String SEPTOR_PATH = "/";
	
	public static final String ZK_ADDRESS = "xcarve.zookeeper.address";
	public static final String ZK_PORT = "xcarve.server.port";
	public static final String SERVICE_WAIT_TIME_OUT = "xcarve.wait.timeout";
	public static final String XCARVE_CONNECT_PERIOD_TIME = "xcarve.connect.period.time";
}
